<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.11"/>
<title>Livox SDK API: sdk_core/include/comm/protocol.h File Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
  $(document).ready(initResizable);
  $(window).load(resizeHeight);
</script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { init_search(); });
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="1.png"/></td>
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">Livox SDK API
   &#160;<span id="projectnumber">V2.1.0</span>
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.11 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="namespaces.html"><span>Namespaces</span></a></li>
      <li><a href="annotated.html"><span>Classes</span></a></li>
      <li class="current"><a href="files.html"><span>Files</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="files.html"><span>File&#160;List</span></a></li>
      <li><a href="globals.html"><span>File&#160;Members</span></a></li>
    </ul>
  </div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
$(document).ready(function(){initNavTree('protocol_8h.html','');});
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="summary">
<a href="#nested-classes">Classes</a> &#124;
<a href="#namespaces">Namespaces</a> &#124;
<a href="#typedef-members">Typedefs</a> &#124;
<a href="#enum-members">Enumerations</a>  </div>
  <div class="headertitle">
<div class="title">protocol.h File Reference</div>  </div>
</div><!--header-->
<div class="contents">
<div class="textblock"><code>#include &lt;stdint.h&gt;</code><br />
</div>
<p><a href="protocol_8h_source.html">Go to the source code of this file.</a></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="nested-classes"></a>
Classes</h2></td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structlivox_1_1_comm_packet.html">livox::CommPacket</a></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classlivox_1_1_protocol.html">livox::Protocol</a></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="namespaces"></a>
Namespaces</h2></td></tr>
<tr class="memitem:namespacelivox"><td class="memItemLeft" align="right" valign="top"> &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacelivox.html">livox</a></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="typedef-members"></a>
Typedefs</h2></td></tr>
<tr class="memitem:af4e436d907dcafb14fcc88a760f75090"><td class="memItemLeft" align="right" valign="top">typedef struct CommPacket&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacelivox.html#af4e436d907dcafb14fcc88a760f75090">livox::CommPacket</a></td></tr>
<tr class="separator:af4e436d907dcafb14fcc88a760f75090"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad7370a98d65fd20693ed58a470ec9439"><td class="memItemLeft" align="right" valign="top">typedef int(*&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacelivox.html#ad7370a98d65fd20693ed58a470ec9439">livox::RequestPackCb</a>) (CommPacket *packet)</td></tr>
<tr class="separator:ad7370a98d65fd20693ed58a470ec9439"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="enum-members"></a>
Enumerations</h2></td></tr>
<tr class="memitem:a6941cc71243dd1b067c904fdd91bfb61"><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacelivox.html#a6941cc71243dd1b067c904fdd91bfb61">livox::PacketType</a> { <a class="el" href="namespacelivox.html#a6941cc71243dd1b067c904fdd91bfb61aac306c9b5938dac53c45dfc4fcc9c132">livox::kRequestPack</a>, 
<a class="el" href="namespacelivox.html#a6941cc71243dd1b067c904fdd91bfb61a9686d537f806d748aece1f03b523d50e">livox::kAckPack</a>, 
<a class="el" href="namespacelivox.html#a6941cc71243dd1b067c904fdd91bfb61a195c6286a980061276877c88f4347a65">livox::kMsgPack</a>
 }</td></tr>
<tr class="separator:a6941cc71243dd1b067c904fdd91bfb61"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab97b5b082d8b27d02cd14daeb8c9807c"><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacelivox.html#ab97b5b082d8b27d02cd14daeb8c9807c">livox::ProtocolType</a> { <a class="el" href="namespacelivox.html#ab97b5b082d8b27d02cd14daeb8c9807caa1131d8950d9c7527cafd32ececda15d">livox::kLidarSdk</a>, 
<a class="el" href="namespacelivox.html#ab97b5b082d8b27d02cd14daeb8c9807ca74908aea2df12e49a212f0b00bae1b25">livox::kRsvd1</a>, 
<a class="el" href="namespacelivox.html#ab97b5b082d8b27d02cd14daeb8c9807ca892dd3366a89802324e48987b8cb34e1">livox::kProtocolUndef</a>
 }</td></tr>
<tr class="separator:ab97b5b082d8b27d02cd14daeb8c9807c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:afeebe28eda25022afdc079c1aaff209c"><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacelivox.html#afeebe28eda25022afdc079c1aaff209c">livox::NeedAckType</a> { <a class="el" href="namespacelivox.html#afeebe28eda25022afdc079c1aaff209ca04b4a83f4d5f6af89e52b2d9cfadbb24">livox::kNoNeed</a>, 
<a class="el" href="namespacelivox.html#afeebe28eda25022afdc079c1aaff209ca0bfce7eeeb94e9fa66f051de4e0f8889">livox::kNeedAck</a>, 
<a class="el" href="namespacelivox.html#afeebe28eda25022afdc079c1aaff209caa59408252d4020dffb9cd35aa5917337">livox::kDelayAck</a>
 }</td></tr>
<tr class="separator:afeebe28eda25022afdc079c1aaff209c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa0c7b20b2866108c5e232ff70bea4820"><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacelivox.html#aa0c7b20b2866108c5e232ff70bea4820">livox::ParseResult</a> { <a class="el" href="namespacelivox.html#aa0c7b20b2866108c5e232ff70bea4820a336a54b375b03cc744f69189037af991">livox::kParseSuccess</a>, 
<a class="el" href="namespacelivox.html#aa0c7b20b2866108c5e232ff70bea4820a397580937b025c53bf21690ebeb11e7a">livox::kParseFail</a>
 }</td></tr>
<tr class="separator:aa0c7b20b2866108c5e232ff70bea4820"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><a class="el" href="dir_5f1136fe404e0a548faf586fae339a6a.html">sdk_core</a></li><li class="navelem"><a class="el" href="dir_fef6b6f1028f30fedf17225feaaa02fe.html">include</a></li><li class="navelem"><a class="el" href="dir_239a77e39c0fcb2f1e08881bb007ba07.html">comm</a></li><li class="navelem"><a class="el" href="protocol_8h.html">protocol.h</a></li>
    <li class="footer">Generated by
    <a href="http://www.doxygen.org/index.html">
    <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.11 </li>
  </ul>
</div>
</body>
</html>
